using System;
using System.Data;
using System.Data.SqlTypes;
using System.Data.SqlClient;

namespace DataEntity
{
	public class T_LeaseAgent_Detal : DBInteractionBase
	{
		#region Class Member Declarations
			private SqlString		_leaseAgent_Detal_Central, _leaseAgent_Detal_Developer;
			private SqlGuid			_leaseAgent_Detal_ID, _leaseAgent_Detal_MainID;
		#endregion


		public T_LeaseAgent_Detal()
		{
			// Nothing for now.
		}


	


		#region Class Property Declarations
		public SqlGuid LeaseAgent_Detal_ID
		{
			get
			{
				return _leaseAgent_Detal_ID;
			}
			set
			{
				_leaseAgent_Detal_ID = value;
			}
		}


		public SqlGuid LeaseAgent_Detal_MainID
		{
			get
			{
				return _leaseAgent_Detal_MainID;
			}
			set
			{
				SqlGuid leaseAgent_Detal_MainIDTmp = (SqlGuid)value;
				if(leaseAgent_Detal_MainIDTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("LeaseAgent_Detal_MainID", "LeaseAgent_Detal_MainID can't be NULL");
				}
				_leaseAgent_Detal_MainID = value;
			}
		}


		public SqlString LeaseAgent_Detal_Central
		{
			get
			{
				return _leaseAgent_Detal_Central;
			}
			set
			{
				SqlString leaseAgent_Detal_CentralTmp = (SqlString)value;
				if(leaseAgent_Detal_CentralTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("LeaseAgent_Detal_Central", "LeaseAgent_Detal_Central can't be NULL");
				}
				_leaseAgent_Detal_Central = value;
			}
		}


		public SqlString LeaseAgent_Detal_Developer
		{
			get
			{
				return _leaseAgent_Detal_Developer;
			}
			set
			{
				SqlString leaseAgent_Detal_DeveloperTmp = (SqlString)value;
				if(leaseAgent_Detal_DeveloperTmp.IsNull)
				{
					throw new ArgumentOutOfRangeException("LeaseAgent_Detal_Developer", "LeaseAgent_Detal_Developer can't be NULL");
				}
				_leaseAgent_Detal_Developer = value;
			}
		}
		#endregion
	}
}
